﻿{{include file='../frontend/include/01_head.tpl'}}
<div class="product-banner">
    <div class="gcontain l-50-pc reprefix-12 ">
        <div class="title">Project - What we did?</div>
    </div>
</div>

<div class="main">
    <div class="gcontain l-50-pc reprefix-12">
        <div class="p-t-40">
            <div class="grid_7">
                <div class="nav_bar p-b-40">
                    <div class="title">PHÂN LOẠI</div>
                    <ul>
                        {{foreach $projects as $item}}
                            <li {{if $cate_project->cate_alias==$item->cate_alias}}class="active"{{/if}}><a href="{{'du-an/'|cat:$item->cate_alias|escape:'html'|site_url}}">{{$item->cate_title|escape:'html'|truncate:28}}</a></li>
                        {{/foreach}}
                        {{if not isset($item)}}<li><a>Đang cập nhật</a></li>{{/if}}
                    </ul>
                    <!--                            <div class="back m-t-32">BACK TO SERVICES</div>-->
                </div>
            </div>
            <div class="grid_17">
                <div class="intro prefix_1">
                    <div class="title">
                        <h2>{{$cate_project->cate_title|default:'Đang cập nhật.'|escape:'html'}}</h2>
                    </div>
                    {{$left=false}}
                    {{foreach $project_list as $item}}
                        {{$left=not $left}}
                    <div class="grid_8 p-t-40">
                        <div class="projects {{if $left}}p-r-20{{else}}p-l-20{{/if}}">
                            <a href="{{'du-an/'|cat:$cate_project->cate_alias|cat:'/'|cat:$item->news_alias|site_url}}">
                                <img width="300" height="172" src="{{base_url()}}data/{{$item->news_thumb|escape:'html'}}" alt=""/>
                                <h4>{{$item->news_title|escape:'html'}}</h4>
                            </a>
                        </div>
                    </div>
                    {{/foreach}}
                {{if not isset($item)}}<p class="p-t-40">Đang cập nhật</p>{{/if}}
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="p-r">
    <div class="gcontain l-50-pc reprefix-12 ">
        <div class="foot-line"></div>
    </div>
</div>
<div class="clear"></div>
﻿{{include file='../frontend/include/02_foot.tpl'}}